/**
 * Created by castle on 2015/05/27.
 */
var Information = function(){
    return {
        init:function(){
            $.ajax({
                url:'http://api.tansuyun.cn?i=9GetStudent&tsy='+getCookie('tsy'),
                data:{SUID:getCookie('un')},
                method:'post',
                type:'json',
                success:function(d){
                    if(d.c == 200){
                        $.each(d.d[0],function(n,v){
                            $('.'+n).html(v);
                        });
                    }
                },
                error:function(){

                }
            });
        }
    };
}();